home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 1634 < prev    next >
Mailbox/MIME Entity  |  1996-08-05  |  1.8 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: Mailbox/MIME Entity (archive/mbox).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Mailbox/MIME Entity (archive/mbox) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file ASCII text default
100% checkBytes Printable ASCII default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/950 MIME Email (1.0) default
100% detectItEasy Format: plain text[LF] default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 4e 65 77 73 67 72 6f 75 | 70 73 3a 20 63 6f 6d 70 |Newsgrou|ps: comp|
|00000010| 2e 6c 61 6e 67 2e 63 0a | 50 61 74 68 3a 20 69 6e |.lang.c.|Path: in|
|00000020| 31 2e 75 75 2e 6e 65 74 | 21 74 65 6c 6c 61 62 35 |1.uu.net|!tellab5|
|00000030| 21 6e 65 77 73 0a 46 72 | 6f 6d 3a 20 4a 6f 65 20 |!news.Fr|om: Joe |
|00000040| 54 6f 74 68 20 3c 74 6f | 74 68 40 74 65 6c 6c 61 |Toth <to|th@tella|
|00000050| 62 73 2e 63 6f 6d 3e 0a | 53 75 62 6a 65 63 74 3a |bs.com>.|Subject:|
|00000060| 20 28 6e 6f 20 73 75 62 | 6a 65 63 74 29 0a 58 2d | (no sub|ject).X-|
|00000070| 4e 6e 74 70 2d 50 6f 73 | 74 69 6e 67 2d 48 6f 73 |Nntp-Pos|ting-Hos|
|00000080| 74 3a 20 73 75 6e 68 32 | 35 0a 43 6f 6e 74 65 6e |t: sunh2|5.Conten|
|00000090| 74 2d 54 79 70 65 3a 20 | 74 65 78 74 2f 70 6c 61 |t-Type: |text/pla|
|000000a0| 69 6e 3b 20 63 68 61 72 | 73 65 74 3d 75 73 2d 61 |in; char|set=us-a|
|000000b0| 73 63 69 69 0a 4d 65 73 | 73 61 67 65 2d 49 44 3a |scii.Mes|sage-ID:|
|000000c0| 20 3c 31 39 39 36 4a 61 | 6e 31 35 2e 31 37 34 31 | <1996Ja|n15.1741|
|000000d0| 30 35 2e 32 32 37 38 34 | 40 74 65 6c 6c 61 62 35 |05.22784|@tellab5|
|000000e0| 2e 74 65 6c 6c 61 62 73 | 2e 63 6f 6d 3e 0a 54 6f |.tellabs|.com>.To|
|000000f0| 3a 20 61 6c 61 72 6d 28 | 29 2c 26 2c 73 65 74 69 |: alarm(|),&,seti|
|00000100| 74 69 6d 65 72 28 29 2c | 71 75 65 73 74 69 6f 6e |timer(),|question|
|00000110| 73 0a 53 65 6e 64 65 72 | 3a 20 6e 65 77 73 40 74 |s.Sender|: news@t|
|00000120| 65 6c 6c 61 62 35 2e 74 | 65 6c 6c 61 62 73 2e 63 |ellab5.t|ellabs.c|
|00000130| 6f 6d 20 28 4e 65 77 73 | 29 0a 43 6f 6e 74 65 6e |om (News|).Conten|
|00000140| 74 2d 54 72 61 6e 73 66 | 65 72 2d 45 6e 63 6f 64 |t-Transf|er-Encod|
|00000150| 69 6e 67 3a 20 37 62 69 | 74 0a 4f 72 67 61 6e 69 |ing: 7bi|t.Organi|
|00000160| 7a 61 74 69 6f 6e 3a 20 | 54 65 6c 6c 61 62 73 20 |zation: |Tellabs |
|00000170| 4f 70 65 72 61 74 69 6f | 6e 73 2c 20 49 6e 63 2e |Operatio|ns, Inc.|
|00000180| 0a 4d 69 6d 65 2d 56 65 | 72 73 69 6f 6e 3a 20 31 |.Mime-Ve|rsion: 1|
|00000190| 2e 30 0a 44 61 74 65 3a | 20 4d 6f 6e 2c 20 31 35 |.0.Date:| Mon, 15|
|000001a0| 20 4a 61 6e 20 31 39 39 | 36 20 31 37 3a 34 31 3a | Jan 199|6 17:41:|
|000001b0| 30 35 20 47 4d 54 0a 58 | 2d 4d 61 69 6c 65 72 3a |05 GMT.X|-Mailer:|
|000001c0| 20 4d 6f 7a 69 6c 6c 61 | 20 31 2e 31 20 28 58 31 | Mozilla| 1.1 (X1|
|000001d0| 31 3b 20 55 3b 20 53 75 | 6e 4f 53 20 34 2e 31 2e |1; U; Su|nOS 4.1.|
|000001e0| 33 20 73 75 6e 34 63 29 | 0a 58 2d 55 72 6c 3a 20 |3 sun4c)|.X-Url: |
|000001f0| 6e 65 77 73 3a 63 6f 6d | 70 2e 6c 61 6e 67 2e 63 |news:com|p.lang.c|
|00000200| 0a 0a 48 65 6c 6c 6f 2c | 0a 0a 49 20 68 61 76 65 |..Hello,|..I have|
|00000210| 20 72 65 61 64 20 74 68 | 65 20 46 41 51 2c 20 61 | read th|e FAQ, a|
|00000220| 6e 64 20 49 20 63 61 6e | 27 74 20 66 69 6e 20 74 |nd I can|'t fin t|
|00000230| 68 65 20 61 6e 73 77 65 | 72 20 74 6f 20 6d 79 20 |he answe|r to my |
|00000240| 71 75 65 73 74 69 6f 6e | 20 69 6e 20 74 68 65 72 |question| in ther|
|00000250| 65 2e 0a 49 20 68 61 76 | 65 20 61 6c 73 6f 20 72 |e..I hav|e also r|
|00000260| 65 61 64 20 74 68 65 20 | 6d 61 6e 20 70 61 67 65 |ead the |man page|
|00000270| 73 20 66 6f 72 20 74 68 | 65 20 66 75 6e 63 74 69 |s for th|e functi|
|00000280| 6f 6e 73 2c 20 61 6e 64 | 20 74 68 65 72 65 20 69 |ons, and| there i|
|00000290| 73 20 6e 6f 20 75 73 65 | 66 75 6c 0a 69 6e 66 6f |s no use|ful.info|
|000002a0| 72 6d 61 74 69 6f 6e 20 | 69 6e 20 74 68 65 20 61 |rmation |in the a|
|000002b0| 63 74 75 61 6c 20 70 61 | 67 65 73 20 6f 72 20 61 |ctual pa|ges or a|
|000002c0| 6e 79 20 6f 66 20 74 68 | 65 20 27 53 65 65 20 41 |ny of th|e 'See A|
|000002d0| 6c 73 6f 27 20 70 61 67 | 65 73 2e 0a 0a 54 68 65 |lso' pag|es...The|
|000002e0| 20 53 63 65 6e 61 72 69 | 6f 3b 0a 0a 20 20 42 6f | Scenari|o;.. Bo|
|000002f0| 74 68 20 74 68 65 20 61 | 6c 61 72 6d 28 29 20 66 |th the a|larm() f|
|00000300| 75 6e 63 74 69 6f 6e 20 | 61 6e 64 20 74 68 65 20 |unction |and the |
|00000310| 73 65 74 69 74 69 6d 65 | 72 28 49 54 49 4d 45 52 |setitime|r(ITIMER|
|00000320| 5f 52 45 41 4c 2c 3c 70 | 61 72 6d 73 3e 29 3b 20 |_REAL,<p|arms>); |
|00000330| 66 75 6e 63 74 69 6f 6e | 0a 20 20 63 61 75 73 65 |function|. cause|
|00000340| 20 74 68 65 20 65 6e 74 | 72 79 20 74 6f 20 74 68 | the ent|ry to th|
|00000350| 65 20 66 75 6e 63 74 69 | 6f 6e 20 61 73 73 69 67 |e functi|on assig|
|00000360| 6e 65 64 20 75 73 69 6e | 67 20 73 69 67 6e 61 6c |ned usin|g signal|
|00000370| 28 53 49 47 41 4c 52 4d | 2c 3c 66 75 6e 63 3e 29 |(SIGALRM|,<func>)|
|00000380| 3b 0a 20 20 61 74 20 74 | 68 65 20 69 6e 74 65 72 |;. at t|he inter|
|00000390| 76 61 6c 73 20 74 68 61 | 74 20 49 20 68 61 76 65 |vals tha|t I have|
|000003a0| 20 73 70 65 63 69 66 69 | 65 64 2e 20 20 49 20 70 | specifi|ed. I p|
|000003b0| 65 72 66 6f 72 6d 20 6d | 79 20 66 75 6e 63 74 69 |erform m|y functi|
|000003c0| 6f 6e 73 20 61 6e 64 20 | 73 65 74 0a 20 20 74 68 |ons and |set. th|
|000003d0| 65 20 73 69 67 6e 61 6c | 73 20 74 6f 20 61 6c 6c |e signal|s to all|
|000003e0| 6f 77 20 66 6f 72 20 61 | 20 70 72 6f 70 65 72 20 |ow for a| proper |
|000003f0| 72 65 74 75 72 6e 20 74 | 6f 20 74 68 65 20 63 6f |return t|o the co|
|00000400| 64 65 20 77 68 65 6e 20 | 74 68 65 20 69 6e 74 65 |de when |the inte|
|00000410| 72 72 75 70 74 0a 20 20 | 6f 63 63 75 72 72 65 64 |rrupt. |occurred|
|00000420| 2e 20 20 46 6f 72 20 73 | 6f 6d 65 20 72 65 61 73 |. For s|ome reas|
|00000430| 6f 6e 2c 20 74 68 65 20 | 27 62 65 6c 6c 27 20 63 |on, the |'bell' c|
|00000440| 68 61 72 61 63 74 65 72 | 20 69 73 20 6f 75 74 70 |haracter| is outp|
|00000450| 75 74 20 74 6f 20 74 68 | 65 20 74 65 72 6d 69 6e |ut to th|e termin|
|00000460| 61 6c 0a 20 20 77 68 69 | 63 68 20 63 61 75 73 65 |al. whi|ch cause|
|00000470| 73 20 74 68 65 20 61 75 | 64 69 6f 2f 73 63 72 65 |s the au|dio/scre|
|00000480| 65 6e 20 66 6c 61 73 68 | 20 6f 6e 20 74 68 65 20 |en flash| on the |
|00000490| 6d 6f 6e 69 74 6f 72 2e | 20 20 54 68 65 20 73 74 |monitor.| The st|
|000004a0| 61 6e 64 61 72 64 20 63 | 6f 64 65 0a 20 20 69 73 |andard c|ode. is|
|000004b0| 20 65 78 65 63 75 74 69 | 6e 67 20 69 6e 20 61 20 | executi|ng in a |
|000004c0| 73 79 73 74 65 6d 20 63 | 61 6c 6c 20 28 72 65 61 |system c|all (rea|
|000004d0| 64 29 20 77 68 65 6e 20 | 74 68 65 20 53 49 47 41 |d) when |the SIGA|
|000004e0| 4c 52 4d 20 69 73 20 67 | 65 6e 65 72 61 74 65 64 |LRM is g|enerated|
|000004f0| 2e 0a 0a 20 20 42 6f 74 | 68 20 66 75 6e 63 74 69 |... Bot|h functi|
|00000500| 6f 6e 73 20 64 6f 20 74 | 68 65 20 73 61 6d 65 20 |ons do t|he same |
|00000510| 74 68 69 6e 67 2e 0a 0a | 20 20 49 20 61 6d 20 75 |thing...| I am u|
|00000520| 73 69 6e 67 20 53 75 6e | 4f 53 20 6f 6e 20 61 20 |sing Sun|OS on a |
|00000530| 53 50 41 52 43 73 74 61 | 74 69 6f 6e 2e 0a 0a 4d |SPARCsta|tion...M|
|00000540| 79 20 51 75 65 73 74 69 | 6f 6e 3b 0a 0a 20 20 57 |y Questi|on;.. W|
|00000550| 68 61 74 20 64 6f 20 49 | 20 68 61 76 65 20 74 6f |hat do I| have to|
|00000560| 20 64 6f 20 74 6f 20 67 | 65 74 20 72 69 64 20 6f | do to g|et rid o|
|00000570| 66 20 74 68 65 20 62 65 | 6c 6c 2f 73 63 72 65 65 |f the be|ll/scree|
|00000580| 6e 20 66 6c 61 73 68 3f | 3f 3f 3f 3f 0a 2d 2d 20 |n flash?|????.-- |
|00000590| 0a 20 20 5f 20 20 5f 20 | 20 5f 5f 5f 20 20 2d 2d |. _ _ | ___ --|
|000005a0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000005b0| 2d 2d 2d 2d 2d 2d 2d 2d | 2b 2d 2d 2d 2d 2d 2d 2d |--------|+-------|
|000005c0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000005d0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 0a 20 20 7c 20 2f |--------|--. | /|
|000005e0| 20 5f 20 20 7c 20 20 20 | 20 4a 6f 73 65 70 68 20 | _ | | Joseph |
|000005f0| 47 2e 20 54 6f 74 68 20 | 4a 72 2e 20 20 20 20 20 |G. Toth |Jr. |
|00000600| 20 20 7c 20 54 65 6c 6c | 61 62 73 20 4f 70 65 72 | | Tell|abs Oper|
|00000610| 61 74 69 6f 6e 73 2c 20 | 49 6e 63 2e 20 20 0a 5c |ations, |Inc. .\|
|00000620| 5f 7c 20 5c 5f 2f 20 20 | 7c 20 20 20 20 20 20 20 |_| \_/ || |
|00000630| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000640| 20 20 20 20 20 20 7c 20 | 74 6f 74 68 40 74 65 6c | | |toth@tel|
|00000650| 6c 61 62 73 2e 63 6f 6d | 0a 0a 3e 20 45 76 65 72 |labs.com|..> Ever|
|00000660| 79 20 70 72 6f 67 72 61 | 6d 20 68 61 73 20 61 74 |y progra|m has at|
|00000670| 20 6c 65 61 73 74 20 6f | 6e 65 20 62 75 67 20 61 | least o|ne bug a|
|00000680| 6e 64 20 63 61 6e 20 62 | 65 20 73 68 6f 72 74 65 |nd can b|e shorte|
|00000690| 6e 65 64 20 62 79 20 61 | 74 20 6c 65 61 73 74 0a |ned by a|t least.|
|000006a0| 3e 20 6f 6e 65 20 69 6e | 73 74 72 75 63 74 69 6f |> one in|structio|
|000006b0| 6e 20 2d 2d 20 66 72 6f | 6d 20 77 68 69 63 68 2c |n -- fro|m which,|
|000006c0| 20 62 79 20 69 6e 64 75 | 63 74 69 6f 6e 2c 20 69 | by indu|ction, i|
|000006d0| 74 20 69 73 20 65 76 69 | 64 65 6e 74 20 74 68 61 |t is evi|dent tha|
|000006e0| 74 20 65 76 65 72 79 0a | 3e 20 70 72 6f 67 72 61 |t every.|> progra|
|000006f0| 6d 20 63 61 6e 20 62 65 | 20 72 65 64 75 63 65 64 |m can be| reduced|
|00000700| 20 74 6f 20 6f 6e 65 20 | 69 6e 73 74 72 75 63 74 | to one |instruct|
|00000710| 69 6f 6e 20 74 68 61 74 | 20 64 6f 65 73 20 6e 6f |ion that| does no|
|00000720| 74 20 77 6f 72 6b 2e 0a | 3e 09 09 09 09 20 20 20 |t work..|>.... |
|00000730| 20 20 20 20 2d 2d 20 4b | 65 6e 20 41 72 6e 6f 6c | -- K|en Arnol|
|00000740| 64 0a 0a | |d.. | |
+--------+-------------------------+-------------------------+--------+--------+